/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JInternalFrame.java
 *
 * Created on 05/10/2009, 12:01:32 PM
 */

package administracion.helper;

import javax.swing.JPanel;

/**
 *
 * @author Vanessa
 */
public class JInternalFrame_Modelo extends javax.swing.JInternalFrame {

    /** Creates new form JInternalFrame */
    JPanel panel;

    public JInternalFrame_Modelo( JPanel panel ,String t, boolean ban1, boolean ban2 , boolean ban3, boolean ban4) {
        super( t, ban1, ban2, ban3, ban4  );
        this.panel = panel;
        initComponents();
        setContentPane( panel );
        pack();
        setDefaultCloseOperation( javax.swing.JInternalFrame.DO_NOTHING_ON_CLOSE );
    }

    public JPanel getPanel() {
        return panel;
    }

    public void setPanel(JPanel panel) {
        this.panel = panel;
    }


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setName("Form"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 394, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 282, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
